<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js示例4-1-3</title>
	<script language="javascript">		
		function fun(){
			alert("欢迎您的到来！");
		}		
	</script>
</head>
<body>
	<input type="button" value="弹出信息" onClick="fun()">
</body>
</html>